import {Link, Outlet} from "react-router-dom";

export default function Home() {
    return (
        <>
            <h2>Dashboard</h2>
            <nav>
                <ul>
                    <li>
                        <Link to="profile">Profile</Link>
                    </li>
                    <li>
                        <Link to="settings">Settings</Link>
                    </li>
                </ul>
            </nav>
            <Outlet/>
        </>
    )
}
